package com.dragon.connector.imServer.session;

public interface ServerSession {

    Boolean isValid();

    void writeAndFlush(Object pkg);

    // 关闭连接
    void close();

    // 获取用户id
    String getUserId();
}
